package com.aaa.order.controller;

import com.aaa.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 崔灿
 * @Date 2023/03/03 09:30
 * @ClassName OrderController
 * @Description
 * @Version 1.0
 */

@Api(value = "/order/order", tags = {"private OrderService orderService;"})
@RestController
@RequestMapping("/order/order")
public class OrderController {
//    @Autowired
//    private OrderService orderService;

    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", dataType = "int", name = "currentPage", value = "", required = true),
            @ApiImplicitParam(paramType = "query", dataType = "int", name = "pageSize", value = "", required = true),
            @ApiImplicitParam(paramType = "query", dataType = "string", name = "title", value = "", required = true)
    })
    @ApiOperation(value = "", notes = "", httpMethod = "POST")
    @PostMapping("/order")
    public Result order(Integer currentPage, Integer pageSize, String title){
      return null;
    }
}
